//
//  HttpRequestManager.h
//  i优购商城
//
//  Created by qianfeng on 15/9/14.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>
//成功的回调
typedef void(^httpSucesss) (id responseobject);
//失败的回调
typedef void(^httpFailure) (NSError*error) ;
@interface HttpRequestManager : NSObject
//单例
+(instancetype)shareInstance;

-(void)getHomeDataSuccess:(httpSucesss)success  Failure:(httpFailure)failure;
-(void)getBrandDataBypage:(int)num Success:(httpSucesss)success  Failure:(httpFailure)failure;
-(void)getListDataByItemID:(NSString*)itemID Andidentify:(int)ident Andpage:(int)page Success:(httpSucesss)success Failure:(httpFailure)failure;
-(void)getCategoryDataSuccess:(httpSucesss)success  Failure:(httpFailure)failure;
@end
